package com.hst.capacity.application.biz;


import com.hst.capacity.domain.model.entity.order.base.BaseOrderEntity;
import com.hst.capacity.domain.model.entity.order.job.JobPlatformEntity;
import com.hst.capacity.domain.model.request.OrderParam;
import com.hst.capacity.domain.model.request.job.JobPlatformParam;
import com.hst.capacity.domain.model.response.DefaultVO;

public interface JobPlatformBiz {

    DefaultVO findJobByIdDriver(JobPlatformParam param);

    DefaultVO jobTaskSave(JobPlatformParam param);

    JobPlatformEntity assignOrderToJob(BaseOrderEntity order, OrderParam param);

    JobPlatformEntity newJob(BaseOrderEntity order, OrderParam param);

    void updateJob(JobPlatformEntity task,BaseOrderEntity order);

    void delJob(JobPlatformEntity task);

    void cancelOrder(BaseOrderEntity order);

    void rejectOrder(BaseOrderEntity order);

    void finishOrder(BaseOrderEntity order);

    boolean refreshDriverJob(String idDriver);

}
